<?php	
		include ("config/conn.php");
		include ("header.php");
		$sid = session_id();
		$sql_check_session="DELETE FROM session WHERE session_code='$sid'";
		$sql_check_session2="DELETE FROM user_session WHERE u_session_code='$sid'";
		$check_session=mysql_query($sql_check_session);
		$check_session=mysql_query($sql_check_session2);
		session_destroy();
		$sidstring="<font size=\"2px\" color=\"red\" style=\"font-style:none;\"></b>You have successfully Logout</font>";
?>
<div align="center">
  <p>&nbsp;</p>
  <p>&nbsp;</p><br>
  <table width="780" border="1" bordercolor="#CCCCCC" bgcolor="#999999">
    <tr>
      <td bgcolor="#000000"><div align="center">
        <p>&nbsp;</p>
        <p><?php echo $sidstring; ?></p>
        <p>&nbsp;</p>
      </div></td>
    </tr>
  </table>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <?php echo "<META http-equiv=\"refresh\" content=\"5;URL=".$location."index.php\">"; ?>
</div>
<?php require ("footer.php"); ?>